package com.example.demo.dao;

import com.example.demo.domain.po.Role;

import org.apache.ibatis.annotations.Param;


/**
 * @Description:
 * @Author: zsg
 * @Date: 2018/07/06 09:18
 */
public interface RoleDao {

      Role queryByRole(@Param("role") String role);

      Role queryById(@Param("id") Long id);

      void  insert(Role role);
}
